package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._16迭代器模式._1迭代;

//迭代器抽象类
abstract class Iterator{

    public abstract Object first();         //第一个
    public abstract Object next();          //下一个
    public abstract boolean isDone();       //是否到最后
    public abstract Object currentItem();   //当前对象

}